import { getSystemInfoSync } from "@tarojs/taro";
import { ref } from "vue";

export const useAppType = () => {
  const system = getSystemInfoSync();
  const height = (750 * system.windowHeight) / system.windowWidth;
  if (height <= 1334) {
    return ref("Min");
  } else {
    return ref("Max");
  }
};
